package website.haicheng.cloudauth.entity;

import lombok.Getter;
import lombok.Setter;
import website.haicheng.core.base.BaseEntity;

import javax.validation.constraints.NotBlank;

/**
 * @description:
 * @author: 582895699@qq.com
 * @time: 2021/2/9 下午 04:56
 */

@Getter
@Setter
public class Token extends BaseEntity {
    private static final long serialVersionUID = 871949286299163327L;

    @NotBlank(message = "用户名不可为空")
    private String account;

    @NotBlank(message = "密码不可为空")
    private String password;
}
